package com.lagou.homework.mysql2.c_order.dao;

import com.lagou.homework.mysql2.c_order.entity.COrder;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author 梅松
 * @Date 2021/12/23 22:52
 */
@Repository
public interface COrderRepsository extends JpaRepository<COrder,Long> {


    public List<COrder> findByUserId(Long userId);
}
